package gamecenter.gc.service.Imp;

import gamecenter.gc.bean.Game_Developer;
import gamecenter.gc.mapper.Game_Developer_Mapper;
import gamecenter.gc.service.Game_Developer_Service;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;

@Service
public class Game_Developer_Service_Imp implements Game_Developer_Service {
    @Resource
    private Game_Developer_Mapper game_developer_mapper;

    @Override
    public Game_Developer get_Game_Developer_From_Name(String name) {
        return game_developer_mapper.get_Cer_Game_Developer_From_Name(name);
    }

    @Override
    public void add_Game_Developer(Game_Developer game_developer) {
        game_developer_mapper.add_Game_Developer(game_developer);
    }
}
